<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VUE 练习</title>
    <script src="vue.js"></script>
   
</head>
<body>
   
    <div id="app-2">
        <span v-bind:title="message">
            鼠标悬停
        </span>
    </div>
    <script>
        const app = new Vue({
            el: '#app-2',
            data: {
                message: new Date().toLocaleString()
            }
        })

    </script>
</body>
</html>